package org.oy.sealogger.device.gps;

import org.oy.sealogger.device.SerialDevice;

public class GPSSerialDevice extends SerialDevice {

	public String getDeviceName() {
		return "GPS";
	}

	@Override
	public final int setPortSpeed(PortSpeed speed) {

		// Make sure the port speed is not set under 4800
		if(speed == PortSpeed.B2400)
			speed = PortSpeed.B4800;
		
		return getPortSpeed();
	}
}
